package com.itcast.service.product;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import com.itcast.bean.product.ProductType;
import com.itcast.util.Dao.OrderBy;
import com.itcast.util.Dao.PredicateDate;
import com.itcast.util.Dao.PredicateType;

public interface ProductTypeService {
	
	public void save(ProductType productType);
	public void delete(int productTypeId);
	public List<ProductType> findList(int firstResult, int maxResults);
	public int findList(
			LinkedHashMap<PredicateDate, PredicateType> Predicates,
			int firstResult,
			int maxResults);
	public List<ProductType> findListForWhere(int parentId, int firstResult, int maxResults);
}